<style>
    .home_header{
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
        color: #fff;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-color: #6e7d8f;
        overflow: hidden;
    }
    .home_header .home_header_left,
    .home_header .home_header_right{
        position: absolute;
        top: 0;
        display: block;
        font-size: 16px;
        line-height: 50px;
        padding: 0 15px;
    }
    .home_header .home_header_left{
        left: 0;
    }
    .home_header .home_header_right{
        right: 0;
    }
    .home_header .home_header_right .home{
        height: 50px;
    }
    .home_header .home_header_title{
        margin: 0 88px;
        height: 50px;
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 50px;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
    }
    .home_header .home_header_left_con.back{
        line-height: 50px;
        padding-left: 23px;
        background: url(/wx/images/pregnant/arrow_left.png) no-repeat left center;
        background-size: 16px;
    }
    .home_header .home_header_right_con img{
        vertical-align: middle;
    }
</style>
<div class="js_home_header home_header">
    <div class="home_header_left">
        {{if left == 'back'}}
        <span class="home_header_left_con back" onclick="history.go(-1)">返回</span>
        {{/if}}
    </div>
    <h1 class="home_header_title">{{title}} </h1>
    <div class="home_header_right ">
    {{if right == 'index'}}
        <span class="home_header_right_con index"><a href="/wx/html/home/index.html"><img class="home" src="/images/toux.png"></a></span>
    {{/if}}
    </div>
</div>
